﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Universe.Physics;
using Universe.Util;
using Universe;

namespace Unibot.DataFactory
{
    /// <summary>
    /// someone needs to totally re-do this
    /// </summary>
    class PlatformFactory
    {
        public IPhysicsObject createRegularPlatform()
        {
            IPhysicsObject platform = new PhysicsObject(new PrimitiveShape(ShapeUtil.createRectangle(50, 50, 500, 30)));
            platform.type = PhysicsObjectType.Static;
            platform.friction_coefficient = (float)0.85;
            return platform;
        }
        public IPhysicsObject createIceyPlatform()
        {
            IPhysicsObject platform = new PhysicsObject(new PrimitiveShape(ShapeUtil.createRectangle(50, 50, 500, 30)));
            platform.type = PhysicsObjectType.Static;
            platform.friction_coefficient = (float)0.95;
            return platform;
        }
    }
}
